package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcHintTypeColorBind;
import com.csun.cmny.provider.model.dto.hintColor.DmcHintColorDto;
import com.csun.cmny.provider.model.vo.DmcHintColorVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcHintMapper extends Mapper<DmcHintTypeColorBind> {

    List<DmcHintColorVo> selectColor(Long groupId);



    /**
     * batch update dmc hint color
     */
    Integer batchUpdate(@Param("dmcHintColorDtoList") List<DmcHintColorDto> dmcHintColorDtoList,Long groupId);

    Integer insertHintColor(@Param("dmcHintColorDtoList") List<DmcHintColorDto> dmcHintColorDtoList);
}
